/*
 * Copyright (C) 2004, Velocityme Partnership
 * AccessValue.java
 *
 * Created on 16 September 2004, 03:43
 */

package com.velocityme.www.dto;

import com.velocityme.entity.Node;
import com.velocityme.entity.Role;

/**
 *
 * @author  Robert
 */
public class AccessDTO implements java.io.Serializable {
    
    private boolean deletable;
    private long m_accessId;
    private Node node;
    private Role role;
    private String m_accessorName;
    
    /** Creates a new instance of AccessValue */
    public AccessDTO(boolean deletable, long accessId, Node node, String accessorName, Role role) {
        this.deletable = deletable;
        m_accessId = accessId;
        this.node = node;
        m_accessorName = accessorName;
        this.role = role;
    }
    
    public boolean isDeletable() {
        return deletable;
    }
    
    public long getAccessId() {
        return m_accessId;
    }
    
    public Node getNode() {
        return node;
    }
    
    public String getAccessorName() {
        return m_accessorName;
    }
    
    public Role getRole() {
        return role;
    }
    
}
